<template>
  <el-tabs v-model="activeName" class="edit-tab" @tab-click="handleClick">
    <el-tab-pane label="媒体" name="media">
      <RealTimeComponentList />
    </el-tab-pane>
    <el-tab-pane label="页面" name="page">
      <PageManage />
    </el-tab-pane>
  </el-tabs>
</template>
<script>
import RealTimeComponentList from '@/components/RealTimeComponentList.vue'
import PageManage from '@/components/PageManage.vue'

export default {
  name: 'MediaManage',
  components: { RealTimeComponentList, PageManage },
  data() {
    return {
      activeName: 'media',
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event)
    },
  },
}
</script>
<style scoped lang="scss"></style>
